﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace CanSWAT
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //if (args != null || args.Length > 0)
            //{
            //    System.Text.StringBuilder sb = new System.Text.StringBuilder();
            //    foreach (string s in args)
            //        sb.AppendLine(s);
            //    MessageBox.Show(sb.ToString());
            //}

            SWAT.Output.ResultAnalysisFrm frm = new SWAT.Output.ResultAnalysisFrm();
            if(args != null || args.Length > 0)
                frm.OutputDatabase = args[0];
            Application.Run(frm);
        }
    }
}
